package com.esm.sm800.database.dbmodel;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

//历史输入
@Entity
public class Hiskeyrecord {

    @Id(autoincrement = true)
    private Long id;

    private String name = ""; //名称
    private int type = 0; //0-登录名 1-型体 2-工序 3-颜色 4-尺码 5-批号 6-机针状态 7-断针说明 8-处理方法 9-机台编号

    private String creat_time = "";

    private String update_time = "";//最近使用时间

    @Generated(hash = 1545452645)
    public Hiskeyrecord(Long id, String name, int type, String creat_time,
            String update_time) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.creat_time = creat_time;
        this.update_time = update_time;
    }

    @Generated(hash = 1975913500)
    public Hiskeyrecord() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCreat_time() {
        return this.creat_time;
    }

    public void setCreat_time(String creat_time) {
        this.creat_time = creat_time;
    }

    public String getUpdate_time() {
        return this.update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
    

}
